/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.home.model.table;

import com.home.mapping.Attribute;
import com.home.mapping.AttributeGroup;
import com.home.mapping.Scheme;

import java.util.Set;
import java.util.Vector;

/**
 *
 * @author pnduy
 */
public class ScorecardDetailObjTable {
    private AttributeGroup attributeGroup;
    private Attribute attribute;
    private Scheme score;
    private Double calculatedScore;


    public Scheme getScore() {
        return score;
    }

    public void setScore(Scheme score) {
        this.score = score;
    }

    public AttributeGroup getAttributeGroup() {
        return attributeGroup;
    }

    public void setAttributeGroup(AttributeGroup attributeGroup) {
        this.attributeGroup = attributeGroup;
    }

    public Attribute getAttribute() {
        return attribute;
    }

    public void setAttribute(Attribute attribute) {
        this.attribute = attribute;
    }

    public Double getCalculatedScore() {
        return calculatedScore;
    }

    public void setCalculatedScore(Double calculatedScore) {
        this.calculatedScore = calculatedScore;
    }
  
    public Vector toVector() {
        Vector v = new Vector();
        v.add(attributeGroup);      
        v.add(attribute);
        v.add(score);
        v.add(calculatedScore);
        
        return v;
    }
}
